package lab02.test35;

/**
 * Created by lenovo on 2017/11/21.
 */
public class Test {
    public static void main(String[] args) {
        Manager a=new Manager("无敌",12000);
        Salesman b=new Salesman("超级",60,30);
        Worker c=new Worker("大美女",28,200);
        System.out.println(a.getName()+"经理工资为："+a.computesalary());
        System.out.println(a.getName()+"销售工资为："+b.computeSalary());
        System.out.println(a.getName()+"工人工资为："+c.computeSalary());
    }
}
